package vip.geeker.iotms.persistance.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_info")
public class User extends PageParam implements Serializable {
    private static final long serialVersionUID = -8720602046800256225L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String loginName;

    private String loginPwd;

    private String mobile;

    private String gender;

    private String mail;

    private Boolean receiveNotice;

    private String realName;

    private Boolean locked;

    private Date createTime;

    private Date lastLoginTime;
}
